package com.imooc.news_manager_project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.imooc.news_manager_project.common.Result;
import com.imooc.news_manager_project.domain.User;
import com.imooc.news_manager_project.dto.LoginDTO;
import com.imooc.news_manager_project.dto.UserDTO;
import com.imooc.news_manager_project.query.UserQuery;

/**
* @author coder
* @description 针对表【t_user(用户数据表)】的数据库操作Service
* @createDate 2025-07-03 11:36:16
*/
public interface IUserService extends IService<User> {

    Result save(UserDTO userDTO);
    Result listParams(UserQuery userQuery);
    Result lists();

    Result update(UserDTO userDTO);

    Result remove(Integer id);

    Result login(LoginDTO loginDTO);

    Result logout(String token);
}
